﻿@model MobileSales.Model.Products.ProductImage


@{
    View.Title = Strings.ProductImages + " - " + Strings.Delete;
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>@Strings.ProductImages &nbsp;&raquo;&nbsp; @Strings.Delete</h2>

<h3>@Strings.AreYouSureWhatToDeleteThis</h3>
<fieldset>
    @Html.HiddenFor(model => model.Id)
    @Html.Hidden("productId", ViewData["productId"])

    <img src="@Model.Path" alt="img" />

</fieldset>
@using (Html.BeginForm())
{
    <p>
        <input type="submit" value="@Strings.Delete" /> |
   @Html.ActionLink(Strings.BackToList, "Details", "Products", new { id = ViewData["productId"] }, new { @class = "icon-button prev-icon" })
    </p>
}
